CSS свойство clamp() позволяет создавать адаптивные элементы, которые масштабируются в зависимости от размера экрана, но при этом не выходят за заданные границы.
h1 { font-size: clamp(24px, 4vw, 48px); }
.container { width: clamp(300px, 50%, 900px); }
.element { padding: clamp(10px, 2vw, 1.5rem); }
- адаптивные элементы без использования медиазапросов. - различные единицы измерения для каждого значения. - можно использовать для любых свойств CSS, которые поддерживают числовые значения.
CSS свойство clamp() позволяет создавать адаптивные элементы, которые масштабируются в зависимости от размера экрана, но при этом не выходят за заданные границы.
h1 { font-size: clamp(24px, 4vw, 48px); }
.container { width: clamp(300px, 50%, 900px); }
.element { padding: clamp(10px, 2vw, 1.5rem); }
- адаптивные элементы без использования медиазапросов. - различные единицы измерения для каждого значения. - можно использовать для любых свойств CSS, которые поддерживают числовые значения.
#css
BY Vue-FAQ
Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283
Some messages aren’t supposed to last forever. There are some Telegram groups and conversations where it’s best if messages are automatically deleted in a day or a week. Here’s how to auto-delete messages in any Telegram chat. You can enable the auto-delete feature on a per-chat basis. It works for both one-on-one conversations and group chats. Previously, you needed to use the Secret Chat feature to automatically delete messages after a set time. At the time of writing, you can choose to automatically delete messages after a day or a week. Telegram starts the timer once they are sent, not after they are read. This won’t affect the messages that were sent before enabling the feature.
Start with a fresh view of investing strategy. The combination of risks and fads this quarter looks to be topping. That means the future is ready to move in.Likely, there will not be a wholesale shift. Company actions will aim to benefit from economic growth, inflationary pressures and a return of market-determined interest rates. In turn, all of that should drive the stock market and investment returns higher.